package com.dommy.tab.util;

import com.dommy.tab.pojo.City;

import java.util.ArrayList;


/**
 * Object
 * Created by 光头 on 2020/7/1.
 */

public class MyHttpObject<T> {
    public ArrayList<T> list =null;

    public ArrayList<T> getList() {
        return list;
    }

    public  void setList(String url,Class<T> clazz) {
        this.list = (ArrayList<T>)MyHttpUtil.getListToUrl(url,clazz);

    }
}
